package IO;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class Fileoutputstream {
    public static void main(String[] args) throws IOException {
        try (OutputStream on = new FileOutputStream("day10-file_io/src/File3.txt")) {
            on.write(97);
            on.write("Hello".getBytes());
        }
    }
}